import React from 'react';
import {Layout} from 'antd';
import "antd/dist/antd.css";

import HeadNav from './components/HeadNav';
import Main from './components/Main';
import './Book.css';

const {Footer} = Layout;

class Book extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            isLogin: false,
            id: '',
            pwd: '',
            name: '',
            dept: '',
            bookInfo: []
        }
    }

    render() {
        return (
            <div className="App">
                <Layout theme="light">
                    <HeadNav/>
                    <Main/>
                    <Footer style={{textAlign: 'center',color:'#d7d4d5'}}>ECNU ROOMBOOK ©2020 LCB</Footer>
                </Layout>,
            </div>);
    }
}

export default Book;
